import Frame_page from "@/views/frame/frame_page.vue";
import system_rout from "./back_console/system_rout";
import wdap_rout from "./back_console/wdap_rout";
import know_rout from "./back_console/know_rout";
import llm_rout from "./back_console/llm_rout";
import web_know_rout from "./web/know_rout";
import login_page from "@/views/login/login_page.vue";
/**name必须等于component */
const home_rout = [
  {
    path: "/",
    redirect: "/home",
    meta: { title: "根目录" },
  },
  {
    path: "/system",
    redirect: "/system/home",
    name: "frame_page",
    component: Frame_page,
    children: [...system_rout, ...wdap_rout, ...know_rout, ...llm_rout],
    meta: { title: "框架" },
  },
  {
    path: "/login",
    name: "login_page",
    component: login_page,
    meta: { title: "登陆页面" },
  },
  ...web_know_rout,
];
export default home_rout;
